package dimensional.traveler.server.services.servlets;

import java.util.List;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.google.inject.Inject;

import dimensional.traveler.client.services.UserService;
import dimensional.traveler.shared.SaveGameInfo;

public class UserServiceServlet extends RemoteServiceServlet implements UserService {
	
	private static final long serialVersionUID = 6384781117103372646L;
	
	@Inject
	UserService userService;

	@Override
	public SaveGameInfo getSaveGameInfoForUser(String userName) {
		return userService.getSaveGameInfoForUser(userName);
	}

	@Override
	public List<String> getSavedGamesForUser(String userName) {
		return userService.getSavedGamesForUser(userName);
	}
	
}
